#include "mainwidget.h"
#include <QApplication>
#include "debug.h"

#if TEST_NETWORK
#include "model/datacenter.h"
#endif

int main(int argc, char *argv[])
{
    qputenv("QT_ENABLE_HIGHDPI_SCALING", "0");
    QApplication a(argc, argv);
    MainWidget w;
    w.show();

#if TEST_NETWORK
    model::DataCenter::getInstance().ping();
#endif

    return a.exec();
}
